package com.fivefu.core.camera.services;

import com.fivefu.core.camera.entity.DbMonitorWorkorderImage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 工单图片 服务类
 * </p>
 *
 * @author 
 * @since 2022-09-22 15:43:06
 */
public interface DbMonitorWorkorderImageService extends IService<DbMonitorWorkorderImage> {

    /**
     * 编辑工单图片
     * @param orderId 工单编号
     * @param imageList 图片信息
     * @param userid 操作用户编号
     */
    void editWorkorderImage(Long orderId, List<DbMonitorWorkorderImage> imageList, String userid);

    /**
     *
     * 格式化工单图片信息
     * @param image
     */
    Map<String,Object> formatWorkorderImage(DbMonitorWorkorderImage image);

    /**
     *
     * 通过工单编号查询 工单图片集合
     * @param orderId 工单编号
     */
    List<DbMonitorWorkorderImage> queryWorkorderImageListByOrderId(Long orderId);
}
